﻿using System.ComponentModel;

namespace Zhp.Entity.SysEnum
{
    public enum MenuTypeEnum
    {
        [Description("分组")]
        Group = 1,
        [Description("菜单")]
        Menu = 2,
        [Description("列表")]
        List = 3,
        [Description("按钮")]
        Button = 4,
    }


    /// <summary>
    /// token类型枚举
    /// </summary>
    public enum TokenTypeEnum
    {
        Access,
        Refresh
    }

    /// <summary>
    /// 文件类型
    /// </summary>
    public enum FileEnum
    {
        [Description("头像")]
        Avatar = 1,
        [Description("聊天文件")]
        ChatMessage = 2,
    }

    public enum LogLevelEnum
    {
        /// <summary>
        /// 非常详细的诊断信息，通常只在调试时使用,Trace
        /// </summary>
        Verbose,
        /// <summary>
        /// 详细的调试信息
        /// </summary>
        Debug,
        /// <summary>
        /// 应用程序正常运行时的日志信息
        /// </summary>
        Information,
        /// <summary>
        /// 可能的问题或即将发生的错误的警告
        /// </summary>
        Warning,
        /// <summary>
        /// 记录错误
        /// </summary>
        Error,
        /// <summary>
        /// 记录一个严重的错误，这通常需要立即关注,Critical
        /// </summary>
        Fatal,
    }

    /// <summary>
    /// 消息类型
    /// </summary>
    public enum MessageTypeEnum
    {
        [Description("文本")]
        Text = 1,
        [Description("[图片]")]
        Img = 2,
        [Description("[链接]")]
        Link = 3,
    }

    /// <summary>
    /// 公式变量类型枚举
    /// </summary>
    public enum FormulaVariableTypeEnum
    {
        /// <summary>
        /// 变量
        /// </summary>
        [Description("变量")]
        Variable = 0,

        /// <summary>
        /// 常量
        /// </summary>
        [Description("常量")]
        Constant = 1,

        /// <summary>
        /// 符号
        /// </summary>
        [Description("符号")]
        Symbol = 2
    }
}
